package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师信息对象 sys_teacher
 * 
 * @author ming
 * @date 2022-02-10
 */
public class SysTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师ID */
    private Long teacherId;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String teacherName;

    /** 教工号 */
    @Excel(name = "教工号")
    private String teacherNumber;

    /** 电话 */
    @Excel(name = "电话")
    private String teacherTel;

    /** 院系 */
    @Excel(name = "院系")
    private String deptName;

    /** 职称 */
    @Excel(name = "职称")
    private String teacherTitle;

    /** 性别（0男 1女 2未知） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;


    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setTeacherNumber(String teacherNumber) 
    {
        this.teacherNumber = teacherNumber;
    }

    public String getTeacherNumber() 
    {
        return teacherNumber;
    }
    public void setTeacherTel(String teacherTel) 
    {
        this.teacherTel = teacherTel;
    }

    public String getTeacherTel() 
    {
        return teacherTel;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setTeacherTitle(String teacherTitle) 
    {
        this.teacherTitle = teacherTitle;
    }

    public String getTeacherTitle() 
    {
        return teacherTitle;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("teacherNumber", getTeacherNumber())
            .append("teacherTel", getTeacherTel())
            .append("deptName", getDeptName())
            .append("teacherTitle", getTeacherTitle())
            .append("sex", getSex())
            .toString();
    }
}
